{foreach $list as $v} 
    <li> <a href="{:url('web/Account/info','user_id='.$v['user_id'])}" class="fly-avatar"> <img src="/static/../upload/users/head/{$v.head?$v.head:'default.png'}" alt="{$v.user_id}">
              </a> <h2> 
                 
                  <a href="{:url('web/Community/articles','tid='.$v.topic_id)}">
                      {$v.title}
                  </a> 
                  {if condition="$v.type<=0"}
                   <a href="#" class=""><span class="layui-badge layui-bg-blue">普通讨论</span></a>
                  {else/}
                  <a href="{:url('web/Problem/problem','pid='.$v.type)}" class=""><span class="layui-badge layui-bg-blue">Problem-{$v.type}</span></a>
                  {/if}
              </h2> 
     <div class="fly-list-info"> 
      <a href="{:url('web/Account/info','user_id='.$v['user_id'])}" > <cite>作者:{$v.user_id}</cite> </a> 
      <span>写作时间:{:date('Y-m-d H:i:s',$v.in_time)}</span> 
      <span class="fly-list-nums"> <i class="iconfont icon-zan" title="支持数"></i> {$v.support} </span> 
     </div> 
     <div class="fly-list-badge"> 
     </div>
    </li>
{/foreach}